package com.hnucm.cooklife.contract.clas;

import com.hnucm.cooklife.base.IBaseView;
import com.hnucm.cooklife.bean.db.ClasSec;

import java.util.List;

import io.reactivex.Observable;

public class Contract {
    public interface IClasModel{
        Observable<List<ClasSec>> loadClas();
        Observable<List<ClasSec>> refreshFoll();
    }

    public interface IClasView extends IBaseView{
        void onLoadClas(List<ClasSec> clasList);
        void onRefreshClas(List<ClasSec> clasList);
    }

    public interface IClasPresenter{
        void loadClas();
        void refreshClas();
    }
}
